package com.huoyun.car.dao;

import com.huoyun.base.dao.BaseDao;
import com.huoyun.car.bean.Car;
import com.huoyun.car.bean.DriverSearcher;

public interface DriverSearcherDao extends BaseDao<DriverSearcher> {
	
	public void saveDriverSearcher(DriverSearcher driverSearcher);
	
	public DriverSearcher getLatestDriverSearcherByUserId(long userId);
	
	public DriverSearcher getLatestDriverSearcherByCar(Car car);
	
	public void updateDriverSearcherByUserId(DriverSearcher driverSearcher);
	
	public DriverSearcher getDriverSearcherByUseId(long userId);
}